<?

$tmppath="../../";
REQUIRE ($tmppath."include/login.php");
REQUIRE ($tmppath."$templates/up.php");
REQUIRE($tmppath."protect/connect.php");
REQUIRE("../fonction.php");

require("ville_function.php");

SWITCH ($page){


//Pour voir la page des batiments
CASE 'batiment1': REQUIRE("view_batiment.php"); BREAK;
//Pour voir la page des batiments
//------------------------------------------------------------------------------BATIMENT
CASE 'batiment2': REQUIRE("view_batiment2.php"); BREAK;
CASE 'batiment_construire': REQUIRE("include/batiment/lancer_construction.php");EXIT;

//Pour voir la page des batiments
//------------------------------------------------------------------------------UNITE
CASE 'unite_enrolement': REQUIRE("include/ville_engager_lancer.php"); BREAK;
CASE 'unite_view': REQUIRE("include/unite/ville_unite_view.php"); BREAK;



CASE 'test':
      REQUIRE("include/test_ville.php");
BREAK;

DEFAULT:

BREAK;


}//Fin du  SWITCH ($page){




?>
